//
// Created by jiangpenghui on 2023/5/15.
//

#ifndef CMAKECXX_INTEGER_H
#define CMAKECXX_INTEGER_H

#include <iostream>
#include "Obj.h"



extern  int int_value ;

namespace Int {
    enum sign {
        positive,
        negative
    };

    class Integer {
        int i;
        sign s;
    public:
        Integer(int _i = 0) : i(_i), s(i >= 0 ? positive : negative) {
            std::cout << "generate Integer { sign =   " << s << ", i  = " << i << " }" << std::endl;
            std::cout << "o13 = "<< o13 << std::endl;
        }

        int getI() {
            return i;
        }

        Integer &operator/(Integer &a);
    };

} // Int

#endif //CMAKECXX_INTEGER_H
